package com.xinhe.web.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@ApiModel(description = "认养树订单查询视图")
public class AdoptedTreeOrderView {
    @ApiModelProperty("主键")
    private Long id;
    @ApiModelProperty("会员id")
    private Long fUserId;
    @ApiModelProperty("认养树id")
    private Long fAdoptedTreeId;
    @ApiModelProperty("订单编号")
    private String code;
    @ApiModelProperty("认养树名称")
    private String treeName;
    @ApiModelProperty("认养树图标")
    private String treeIconPath;
    @ApiModelProperty("单价")
    private BigDecimal price;
    @ApiModelProperty("认养数量")
    private Integer amount;
    @ApiModelProperty("赠送的云茶籽(单个)")
    private BigDecimal yunChaSeed;
    @ApiModelProperty("赠送的茶油卡(单个)")
    private BigDecimal teaOilCard;
    @ApiModelProperty("赠送的消费金红包(单个)")
    private BigDecimal consumerGoldRedEnvelope;
    @ApiModelProperty("买家备注")
    private String buyerRemark;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty("认养时间")
    private Date startTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty("到期时间")
    private Date endTime;
    @ApiModelProperty("状态")
    private String status;
    @ApiModelProperty("支付金额")
    private BigDecimal payFee;
    @ApiModelProperty("订单总金额")
    private BigDecimal orderFee;
    @ApiModelProperty("运营管理费")
    private BigDecimal opexManagerFee;
    @ApiModelProperty("订单总赠送的云茶籽")
    private BigDecimal orderYunChaSeed;
    @ApiModelProperty("订单总赠送的茶油卡")
    private BigDecimal orderTeaOilCard;
    @ApiModelProperty("订单总赠送的消费金红包")
    private BigDecimal orderConsumerGoldRedEnvelope;
    @ApiModelProperty("备注")
    private String remark;
    @ApiModelProperty("认养树总金额")
    private BigDecimal treeFee = BigDecimal.ZERO;
    @ApiModelProperty("认养年份")
    /* 102 */ private Integer adoptedYear = Integer.valueOf(0);
    @ApiModelProperty("下单时间")
    private Date createTime;
    @ApiModelProperty("用户昵称")
    private String name;
    @ApiModelProperty("用户手机号")
    private String mobile;
    @ApiModelProperty("支付时间")
    private Date payTime;
    @ApiModelProperty("支付方式")
    private String payChannel;
    @ApiModelProperty("额外赠送云茶籽")
    private BigDecimal additionalYunChaSeed;
    @ApiModelProperty("是否赠送过")
    private Integer isGive;
    @ApiModelProperty("上级名称")
    private String parentName;
    @ApiModelProperty("上级编码（手机号）")
    private String parentCode;
    @ApiModelProperty("所属创始人")
    private String rootName;
    @ApiModelProperty("编码（手机号）")
    private String memberCode;


    public String getMemberCode() {
        return memberCode;
    }

    public void setMemberCode(String memberCode) {
        this.memberCode = memberCode;
    }

    public String getParentCode() {
        return parentCode;
    }

    public void setParentCode(String parentCode) {
        this.parentCode = parentCode;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getfUserId() {
        return fUserId;
    }

    public void setfUserId(Long fUserId) {
        this.fUserId = fUserId;
    }

    public Long getfAdoptedTreeId() {
        return fAdoptedTreeId;
    }

    public void setfAdoptedTreeId(Long fAdoptedTreeId) {
        this.fAdoptedTreeId = fAdoptedTreeId;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getTreeName() {
        return treeName;
    }

    public void setTreeName(String treeName) {
        this.treeName = treeName;
    }

    public String getTreeIconPath() {
        return treeIconPath;
    }

    public void setTreeIconPath(String treeIconPath) {
        this.treeIconPath = treeIconPath;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Integer getAmount() {
        return amount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }

    public BigDecimal getYunChaSeed() {
        return yunChaSeed;
    }

    public void setYunChaSeed(BigDecimal yunChaSeed) {
        this.yunChaSeed = yunChaSeed;
    }

    public BigDecimal getTeaOilCard() {
        return teaOilCard;
    }

    public void setTeaOilCard(BigDecimal teaOilCard) {
        this.teaOilCard = teaOilCard;
    }

    public BigDecimal getConsumerGoldRedEnvelope() {
        return consumerGoldRedEnvelope;
    }

    public void setConsumerGoldRedEnvelope(BigDecimal consumerGoldRedEnvelope) {
        this.consumerGoldRedEnvelope = consumerGoldRedEnvelope;
    }

    public String getBuyerRemark() {
        return buyerRemark;
    }

    public void setBuyerRemark(String buyerRemark) {
        this.buyerRemark = buyerRemark;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public BigDecimal getPayFee() {
        return payFee;
    }

    public void setPayFee(BigDecimal payFee) {
        this.payFee = payFee;
    }

    public BigDecimal getOrderFee() {
        return orderFee;
    }

    public void setOrderFee(BigDecimal orderFee) {
        this.orderFee = orderFee;
    }

    public BigDecimal getOpexManagerFee() {
        return opexManagerFee;
    }

    public void setOpexManagerFee(BigDecimal opexManagerFee) {
        this.opexManagerFee = opexManagerFee;
    }

    public BigDecimal getOrderYunChaSeed() {
        return orderYunChaSeed;
    }

    public void setOrderYunChaSeed(BigDecimal orderYunChaSeed) {
        this.orderYunChaSeed = orderYunChaSeed;
    }

    public BigDecimal getOrderTeaOilCard() {
        return orderTeaOilCard;
    }

    public void setOrderTeaOilCard(BigDecimal orderTeaOilCard) {
        this.orderTeaOilCard = orderTeaOilCard;
    }

    public BigDecimal getOrderConsumerGoldRedEnvelope() {
        return orderConsumerGoldRedEnvelope;
    }

    public void setOrderConsumerGoldRedEnvelope(BigDecimal orderConsumerGoldRedEnvelope) {
        this.orderConsumerGoldRedEnvelope = orderConsumerGoldRedEnvelope;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public BigDecimal getTreeFee() {
        return treeFee;
    }

    public void setTreeFee(BigDecimal treeFee) {
        this.treeFee = treeFee;
    }

    public Integer getAdoptedYear() {
        return adoptedYear;
    }

    public void setAdoptedYear(Integer adoptedYear) {
        this.adoptedYear = adoptedYear;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public Date getPayTime() {
        return payTime;
    }

    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }

    public String getPayChannel() {
        return payChannel;
    }

    public void setPayChannel(String payChannel) {
        this.payChannel = payChannel;
    }

    public BigDecimal getAdditionalYunChaSeed() {
        return additionalYunChaSeed;
    }

    public void setAdditionalYunChaSeed(BigDecimal additionalYunChaSeed) {
        this.additionalYunChaSeed = additionalYunChaSeed;
    }

    public Integer getIsGive() {
        return isGive;
    }

    public void setIsGive(Integer isGive) {
        this.isGive = isGive;
    }

    public String getParentName() {
        return parentName;
    }

    public void setParentName(String parentName) {
        this.parentName = parentName;
    }

    public String getRootName() {
        return rootName;
    }

    public void setRootName(String rootName) {
        this.rootName = rootName;
    }

}
